﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ExpApply.aspx.cs" Inherits="CURE.Harmful.ExpApply" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>实验申请</title>
    <script type="text/javascript">
        

        function catechange(obj)
        {
            var selectcate = document.getElementById("cate").value;
            document.getElementById("badcate").value = selectcate;
        }

    </script>
    <style type="text/css">
        #judgename {
            width: 138px;
        }
        #startbt {
            width: 26px;
        }
        #endbt {
            width: 24px;
        }
    </style>
</head>
<body>
    <div class="pageContent">
        <form id="form1" method="post" action="Handler/ExpHandler.ashx" class="pageForm required-validate"
        onsubmit="return validateCallback(this, dialogAjaxDone)">
        <input type="hidden" name="id" value="<%=Mid %>" /> 
        <input type="hidden" name="fid" value="<%=Fid %>" />
        <input type="hidden" name="action" value="<%=Action %>" />
        <input type="hidden" name="badcate" id="badcate" value="<%=Cate %>" />
        <input type="hidden" name="page" value="<%=Page1 %>" />
        <div class="pageFormContent" layouth="56">
            <table class="table" layout="83" width="100%">
              <tr>
                <td><label>记录编号：</label></td>
                <td colspan="2"><input type="text" name="txtid" class="icm_txt" id="txtid"  readonly="readonly" value="<%=Mid %>" style="width:100%;" /></td>
                <td><label>F卡号：</label></td>
                <td colspan="2"> <input type="text" name="txtDeptName" class="icm_txt" id="txtfid"  readonly="readonly" value="<%=Fid %>" style="width:100%;" /></td>
              </tr>
              <tr>
                <td><label>判定名称：</label></td>
                <td><input type="text" name="judgename" class="icm_txt" id="judgename"  value="<%=Judgename %>" style="width:100%;" /></td>
                <td><label> 型号：</label></td>
                <td><input type="text" name="typeno" class="icm_txt" id="typeno"  value="<%=Typeno %>" style="width:100%;" /></td>
                <td> <label>机台别：</label></td>
                <td><input type="text" name="mcno" class="icm_txt" id="mcno"  value="<%=Mcno %>" style="width:100%;" /></td>
              </tr>
              <tr>
                <td><label>F卡BT号：</label></td>
                <td><label style="width:10px;">第</label><input type="text" name="startbt" class="icm_txt" id="startbt"  value="<%=Startbt %>" /><label style="width:35px;">BT至第</label><input type="text" name="endbt" class="icm_txt" id="endbt"  value="<%=Endbt %>" /><label style="width:10px;">BT</label></td>
                <td><label>发生数量：</label></td>
                <td><input type="text" name="num" class="icm_txt" id="num"  value="<%=Num %>" style="width:100%;" /></td>
                <td><label>F卡生产时间：</label></td>
                <td><input class="date" datefmt="yyyy-MM-dd" name="fdate" class="icm_txt" id="fdate" readonly="readonly"  value="<%=Fdate %>" style="width:100%;" /></td>
              </tr>
              <tr>
                <td><label>橡胶外观目视描述：</label></td>
                <td><input type="text" name="desc" class="icm_txt" id="desc"  value="<%=Desc %>" style="width:100%;" /></td>
                <td colspan="2"> <label>材料放置点(注:精炼橡胶判定时必须填写)：</label></td>
                <td colspan="2" ><input type="text" name="rubberput" class="icm_txt" id="rubberput"  value="<%=Rubberput %>" style="width:100%;" /></td>
              </tr>
              <tr>
                <td><label>内容：</label></td>
                <td colspan="5"><input type="text" name="cont" class="icm_txt" id="cont"  value="<%=Cont %>" style="width:100%;" /></td>
              </tr>
              <tr>
                <td><label>精炼不良类别</label></td>
                <td><select name="cate" id="cate" onchange="catechange(this.value)" style="width: 80px">
                    <option value="0">--请选择--</option>
                    <option value="A">橡胶焦化</option>
                    <option value="B">下BB滞留</option>
                    <option value="C">手动炼制</option>
                    <option value="D">未炼开</option>
                    <option value="E">计量异常</option>
                    <option value="F">温度异常</option>
                    <option value="G">异物混入</option>
                    <option value="H">过期品</option>
                    <option value="I">无F卡</option>
                    <option value="J">橡胶有水</option>
                    <option value="K">药品异常</option>
                    <option value="L">其他</option>
                    </select>
                </td>
              </tr>
              <tr>
                <td rowspan="5"><label>生产有无异常</label></td>
                <td colspan="2"><label>情报信息</label></td> 
                <td><label>有/无</label></td>
                <td colspan="2"><label>异常内容</label></td>  
              </tr>
              <tr>
                <td colspan="2"><label>设备有无报警异常</label></td>
                <td><input type="text" name="deviceabnormal" class="icm_txt" id="deviceabnormal"  value="<%=Deviceabnormal %>" style="width:100%;" /></td>
                <td colspan="2"><input type="text" name="devicecontent" class="icm_txt" id="devicecontent"  value="<%=Devicecontent %>" style="width:100%;" /></td>
              </tr>
              <tr>
                <td colspan="2"><label>来自技能员异常情报</label></td>
                <td><input type="text" name="skillabnormal" class="icm_txt" id="skillabnormal"  value="<%=Skillabnormal %>" style="width:100%;" /></td>
                <td colspan="2"><input type="text" name="skillcontent" class="icm_txt" id="skillcontent"  value="<%=Skillcontent %>" style="width:100%;" /></td>
              </tr>
              <tr>
                 <td colspan="2"><label>LOT Report有无异常</label></td>
                 <td><input type="text" name="lotabnormal" class="icm_txt" id="lotabnormal"  value="<%=Lotabnormal %>" style="width:100%;" /></td>
                 <td colspan="2"><input type="text" name="lotcontent" class="icm_txt" id="lotcontent"  value="<%=Lotcontent %>" style="width:100%;" /></td>
              </tr>
              <tr>
                 <td colspan="2"><label>作业录像有无异常</label></td>
                 <td><input type="text" name="workabnormal" class="icm_txt" id="workabnormal"  value="<%=Workabnormal %>" style="width:100%;" /></td>
                 <td colspan="2"><input type="text" name="workcontent" class="icm_txt" id="workcontent"  value="<%=Workcontent %>" style="width:100%;" /></td>
              </tr>
              <tr>
                 <td><label>具体原因说明</label></td>
                 <td colspan="5"><input type="text" name="reason" class="icm_txt" id="reason"  value="<%=Reason %>" style="width:100%;" /></td>
              </tr>
              <%--<tr>
                 <td><label>是否需要遏制:</label></td>
                 <td><input type="radio" id="keepradio" name="keepradio" value="1" onchange="radiovalue()"  /> 是
                <input type="radio" id="keepradio" name="keepradio" value="0" onchange="radiovalue()" checked="checked" /> 否</td>
              </tr>--%>
               
                    <tr>
                        <td rowspan="6">
                            <label>遏制范围表</label></td>
                        <td>
                            <label>项目</label></td>
                        <td>
                            <label>橡胶</label></td>
                        <td>
                            <label>部材</label></td>
                        <td>
                            <label>生胎</label></td>
                        <td>
                            <label>制品</label></td>
                    </tr>
                    <tr>
                        <td>
                            <label>型号</label></td>
                        <td>
                            <input type="text" name="rubberno" class="icm_txt" id="rubberno" value="<%=Rubberno %>" style="width: 100%;" /></td>
                        <td>
                            <input type="text" name="eleno" class="icm_txt" id="eleno" value="<%=Elementno %>" style="width: 100%;" /></td>
                        <td>
                            <input type="text" name="tireno" class="icm_txt" id="tireno" value="<%=Tireno %>" style="width: 100%;" /></td>
                        <td>
                            <input type="text" name="prono" class="icm_txt" id="prono" value="<%=Prono %>" style="width: 100%;" /></td>
                    </tr>
                    <tr>
                        <td>
                            <label>批次</label></td>
                        <td>
                            <input type="text" name="rubberlot" class="icm_txt" id="rubberlot" value="<%=Rubberlotno %>" style="width: 100%;" /></td>
                        <td>
                            <input type="text" name="elelot" class="icm_txt" id="elelot" value="<%=Elementlotno %>" style="width: 100%;" /></td>
                        <td>
                            <input type="text" name="tirelot" class="icm_txt" id="tirelot" value="<%=Tirelotno %>" style="width: 100%;" /></td>
                        <td>
                            <input type="text" name="prolot" class="icm_txt" id="prolot" value="<%=Prolotno %>" style="width: 100%;" /></td>
                    </tr>
                    <tr>
                        <td>
                            <label>应保留数量</label></td>
                        <td>
                            <input type="text" name="rubbernum" class="icm_txt" id="rubbernum" value="<%=Rubbernum %>" style="width: 100%;" /></td>
                        <td>
                            <input type="text" name="elenum" class="icm_txt" id="elenum" value="<%=Elementnum %>" style="width: 100%;" /></td>
                        <td>
                            <input type="text" name="tirenum" class="icm_txt" id="tirenum" value="<%=Tirenum %>" style="width: 100%;" /></td>
                        <td>
                            <input type="text" name="pronum" class="icm_txt" id="pronum" value="<%=Pronum %>" style="width: 100%;" /></td>
                    </tr>
                    <tr>
                        <td>
                            <label>实际保留数量</label></td>
                        <td>
                            <input type="text" name="rubberreal" class="icm_txt" id="rubberreal" value="<%=Rubberrealnum %>" style="width: 100%;" /></td>
                        <td>
                            <input type="text" name="elereal" class="icm_txt" id="elereal" value="<%=Elementrealnum %>" style="width: 100%;" /></td>
                        <td>
                            <input type="text" name="tirereal" class="icm_txt" id="tirereal" value="<%=Tirerealnum %>" style="width: 100%;" /></td>
                        <td>
                            <input type="text" name="proreal" class="icm_txt" id="proreal" value="<%=Prorealnum %>" style="width: 100%;" /></td>
                    </tr>
                    <tr>
                        <td>
                            <label>备注</label></td>
                        <td colspan="4">
                            <input type="text" name="remark" class="icm_txt" id="remark" value="<%=Remarks %>" style="width: 100%;" /></td>
                    </tr>
                   
            </table>
           
            <%--<p>
                <label>
                    原因：</label>
                <input type="text" name="txtReason" size="30" id="txtreason"  
                    value="<%=Reason %>" />
            </p>--%>
        </div>
                
        <div class="formBar">
            <ul>
                <li>
                    <div class="buttonActive">
                        <div class="buttonContent">
                            <button type="submit">
                                提交</button></div>
                    </div>
                </li>
                <li>
                    <div class="button">
                        <div class="buttonContent">
                            <button type="reset" class="close">
                                取消</button></div>
                    </div>
                </li>
            </ul>
        </div>
        </form>
    </div>
</body>
</html>